from manim import *


class app(Scene):
    def construct(self):
        square = Square(color=BLUE, fill_opacity=0.7)
        self.play(square.animate.scale(2), run_time=2)
        self.wait()
        self.play(square.animate.scale(0.4), run_time=2)
        self.wait()
